package com.wang.xh.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author wjh
 * @create 2024-09-07 19:11
 */
@Component
@ConfigurationProperties(prefix = "xy.jwt")
@Data
public class JwtProperties {

    private String secretKey;
    private Long longTtl;
    private Long shortTtl;
}
